package com.akaovi.courseExp.utils;

import com.akaovi.courseExp.pojo.Student;

import java.util.Arrays;
import java.util.List;

/**
 * @author akaovi
 * @version 1.0
 * @description
 * @date 2022/10/19 10:55
 * @since 2022/10/19 10:55
 */
public class Utils {

    public static List<Student> createStudentList() {
        // 创建学生
        Student student1 = new Student("张三", 18, 75.5);
        Student student2 = new Student("李四", 19, 77.5);
        Student student3 = new Student("王五", 20, 70.5);
        Student student4 = new Student("刘六", 21, 67.5);
        Student student5 = new Student("赵七", 22, 66.5);
        Student student6 = new Student("刘八", 23, 80.5);
        Student student7 = new Student("刘九", 24, 90.0);
        Student student8 = new Student("刘十", 25, 70.0);
        Student student9 = new Student("刘十一", 16, 100);
        return Arrays.asList(student1,student2,student3,student4,student5,student6,student7,student8,student9);
    }
}
